// JavaScript Document

var content = {
   
	
	saveItem : function(id) 
	{		
		// validate
        var f = document.forms[0];
		if (id == '')
		{			
			return false;
		}	

		f.action = SITE_URL + 'admin/setting_pages.setting_pages_process.saveItem/'+id;
		f.submit();
		return true;
    },
    
    cancel : function(start, language)
	{
		var str_language = "";
		if(language){
			str_language = language+"/";
		}
        document.location.href = SITE_URL + 'admin/home/'+str_language+start;
    }
}
